feat: switch hosted OCR CPU actor defaults to Nemotron OCR v2#2295
Draft
kheiss-uwzoo wants to merge 2 commits into
Draft
feat: switch hosted OCR CPU actor defaults to Nemotron OCR v2#2295kheiss-uwzoo wants to merge 2 commits into
kheiss-uwzoo wants to merge 2 commits into
Conversation
Update remote DEFAULT_INVOKE_URL values, library-mode CI, README/CLI examples, and tests to match Helm v2 defaults (NVIDIA#2239). Clarify that TableStructureCPUActor has no default OCR URL.
charlesbluca
reviewed
Jul 2, 2026
| NVIDIA_API_KEY: ${{ secrets.NVIDIA_BUILD_API_KEY }} | ||
| PAGE_ELEMENTS_INVOKE_URL: "https://ai.api.nvidia.com/v1/cv/nvidia/nemotron-page-elements-v3" | ||
| OCR_INVOKE_URL: "https://ai.api.nvidia.com/v1/cv/nvidia/nemoretriever-ocr-v1" | ||
| OCR_INVOKE_URL: "https://ai.api.nvidia.com/v1/cv/nvidia/nemoretriever-ocr-v2" |
Collaborator
There was a problem hiding this comment.
This should be nemotron-ocr-v2
3 tasks
charlesbluca
reviewed
Jul 2, 2026
| extraction_mode="auto", | ||
| extract_params=ExtractParams( | ||
| ocr_invoke_url="https://ai.api.nvidia.com/v1/cv/nvidia/nemoretriever-ocr-v1", | ||
| ocr_invoke_url="https://ai.api.nvidia.com/v1/cv/nvidia/nemoretriever-ocr-v2", |
Collaborator
There was a problem hiding this comment.
Should make the same modification in this test file
Align library-mode CI and README video tests with operator defaults and build.nvidia.com hosted model name (nemotron-ocr-v2).
Collaborator
Author
|
Addressed the |
kheiss-uwzoo
added a commit
to kheiss-uwzoo/nv-ingest
that referenced
this pull request
Jul 2, 2026
Documents hosted CPU actor defaults after NVIDIA#2295 lands. Merge NVIDIA#2295 before this PR per eng review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switch hosted/remote CPU OCR actor
DEFAULT_INVOKE_URLvalues fromnemotron-ocr-v1tonemotron-ocr-v2, and align README/CLI examples, library-mode CI, and tests.Draft — for eng review. Split from #2259 per Randy's guidance: docs PR stays docs-only; this change waits for eng sign-off on hosted endpoint readiness.
On
main, hosted defaults remain v1 intentionally (#2021: v2 available locally and in Helm, remote flip deferred).Changes
ocr/cpu_ocr.py,chart/cpu_actor.py,table/cpu_actor.py,video/ocr_actor.pyOCR_INVOKE_URL→ v2PR scope check
main.github/workflows/integration-test-library-mode.yml(OCR invoke URL only)Test plan
pytest nemo_retriever/tests/test_operator_flags_and_cpu_actors.py nemo_retriever/tests/test_video_frame_ocr_actor.pynemotron-ocr-v2